 package client.status;

 import client.MapleDisease;
 import handling.Buffstat;
 import java.io.Serializable;




 public enum MonsterStatus
   implements Serializable, Buffstat
 {
/*  13 */   MOB_STAT_Unk1(1),
/*  14 */   MOB_STAT_PAD(3),
/*  15 */   MOB_STAT_PDR(4),
/*  16 */   MOB_STAT_MAD(5),
/*  17 */   MOB_STAT_MDR(6),
/*  18 */   MOB_STAT_ACC(7),
/*  19 */   MOB_STAT_EVA(8),
/*  20 */   MOB_STAT_Speed(9),
/*  21 */   MOB_STAT_Stun(10),
/*  22 */   MOB_STAT_Freeze(11),
/*  23 */   MOB_STAT_T156Unk12(12),
/*  24 */   MOB_STAT_Seal(13),
/*  25 */   MOB_STAT_Darkness(14),
/*  26 */   MOB_STAT_PowerUp(15),
/*  27 */   MOB_STAT_MagicUp(16),
/*  28 */   MOB_STAT_PGuardUp(17),
/*  29 */   MOB_STAT_MGuardUp(18),
/*  30 */   MOB_STAT_PImmune(19),
/*  31 */   MOB_STAT_MImmune(20),
/*  32 */   MOB_STAT_Web(21),
/*  33 */   MOB_STAT_HardSkin(22),
/*  34 */   MOB_STAT_Ambush(23),
/*  35 */   MOB_STAT_Venom(24),
/*  36 */   MOB_STAT_Venom_2(24),
/*  37 */   MOB_STAT_Blind(25),
/*  38 */   心灵控制(26),
/*  39 */   MOB_STAT_SealSkill(26),
/*  40 */   MOB_STAT_Dazzle(27),
/*  41 */   MOB_STAT_PCounter(28),
/*  42 */   MOB_STAT_MCounter(29),
/*  43 */   MOB_STAT_RiseByToss(30),
/*  44 */   MOB_STAT_BodyPressure(31),
/*  45 */   MOB_STAT_Weakness(32),
/*  46 */   MOB_STAT_Showdown(33),
/*  47 */   MOB_STAT_MagicCrash(34),
/*  48 */   MOB_STAT_DamagedElemAttr(35),


/*  51 */   NEWUNK33(36),
/*  52 */   MOB_STAT_AddDamParty(37),
/*  53 */   MOB_STAT_HitCriDamR(38),
/*  54 */   MOB_STAT_Fatality(39),
/*  55 */   MOB_STAT_Lifting(40),
/*  56 */   MOB_STAT_DeadlyCharge(41),
/*  57 */   MOB_STAT_Smite(42),
/*  58 */   MOB_STAT_AddDamSkil(43),
/*  59 */   MOB_STAT_Incizing(44),
/*  60 */   MOB_STAT_DodgeBodyAttack(45),
/*  61 */   MOB_STAT_DebuffHealing(46),
/*  62 */   MOB_STAT_AddDamSkill2(47),
/*  63 */   MOB_STAT_BodyAttack(48),
/*  64 */   MOB_STAT_TempMoveAbility(49),
/*  65 */   MOB_STAT_FixDamRBuff(50),
/*  66 */   NEWUNK48(51),
/*  67 */   MOB_STAT_ElementDarkness(52),
/*  68 */   MOB_STAT_AreaInstallByHit(53),
/*  69 */   MOB_STAT_BMageDebuff(54),
/*  70 */   MOB_STAT_JaguarProvoke(55),
/*  71 */   MOB_STAT_JaguarBleeding(56),
/*  72 */   MOB_STAT_DarkLightning(57),
/*  73 */   MOB_STAT_PinkbeanFlowerPot(58),
/*  74 */   MOB_STAT_BattlePvP_Helena_Mark(59),
/*  75 */   MOB_STAT_PsychicLock(60),
/*  76 */   MOB_STAT_PsychicLockCoolTime(61),
/*  77 */   MOB_STAT_PsychicGroundMark(62),
/*  78 */   MOB_STAT_PowerImmune(63),
/*  79 */   MOB_STAT_PsychicForce(64),
/*  80 */   MOB_STAT_MultiPMDR(65),
/*  81 */   MOB_STAT_ElementResetBySummon(66),
/*  82 */   MOB_STAT_BahamutLightElemAddDam(67),
/*  83 */   CurseMark(68),
/*  84 */   MOB_STAT_BossPropPlus(69),
/*  85 */   MOB_STAT_MultiDamSkill(70),
/*  86 */   MOB_STAT_RWLiftPress(71),
/*  87 */   MOB_STAT_RWChoppingHammer(72),
/*  88 */   UNK73(73),
/*  89 */   UNK74(74),
/*  90 */   UNK75(75),
/*  91 */   Ticktock(76),
/*  92 */   UNK77(77),
/*  93 */   UNK78(78),
/*  94 */   UNK79(79),
/*  95 */   UNK80(80),
/*  96 */   UNK81(81),
/*  97 */   UNK82(82),
/*  98 */   UNK83(83),
/*  99 */   怪物状态_卷术_微生强变(84),
/* 100 */   UNK85(85),
/* 101 */   UNK86(86),
/* 102 */   MOB_STAT_TimeBomb(88),
/* 103 */   MOB_STAT_Treasure(89),
/* 104 */   MOB_STAT_AddEffect(90),
/* 105 */   MOB_STAT_Invincible(92, true),
/* 106 */   MOB_STAT_Explosion(93),
/* 107 */   MOB_STAT_HangOver(94),
/* 108 */   UNK93(95),
/* 109 */   MOB_STAT_Burned(96, true),
/* 110 */   MOB_STAT_Poison(97, true),
/* 111 */   MOB_STAT_BalogDisable(98, true),
/* 112 */   MOB_STAT_ExchangeAttack(99, true),
/* 113 */   MOB_STAT_AddBuffStat(100, true),
/* 114 */   MOB_STAT_LinkTeam(101, true),
/* 115 */   MOB_STAT_SoulExplosion(102, true),
/* 116 */   MOB_STAT_SeperateSoulP(103, true),
/* 117 */   MOB_STAT_SeperateSoulC(104, true),
/* 118 */   MOB_STAT_Ember(105, true),
/* 119 */   MOB_STAT_TrueSight(106, true),
/* 120 */   MOB_STAT_Laser(107, true),
/* 121 */   MOB_STAT_StatResetSkill(108, true),
/* 122 */   NEWUNK107(109, true),
/* 123 */   NEWUNK108(110, true),
/* 124 */   NEWUNK109(111, true),
/* 125 */   NEWUNK110(112, true),
/* 126 */   NEWUNK111(113, true),
/* 127 */   NEWUNK112(114, true),
/* 128 */   NEWUNK113(115, true),
/* 129 */   NEWUNK114(116, true),
/* 130 */   MOB_STAT_COUNT(117, true),
/* 131 */   MOB_STAT_NONE(-1);

   static final long serialVersionUID = 0L;
   private final int i;
   private final int position;
   private final boolean end;
   private int value;

   MonsterStatus(int value) {
/* 140 */     this.i = 1 << 31 - value % 32;
/* 141 */     this.position = (int)Math.floor((value / 32));
/* 142 */     this.end = false;
/* 143 */     this.value = value;
   }

   MonsterStatus(int value, boolean end) {
/* 147 */     this.i = 1 << 31 - value % 32;
/* 148 */     this.position = (int)Math.floor((value / 32));
/* 149 */     this.end = end;
/* 150 */     this.value = value;
   }

   public static MonsterStatus getBySkill_Pokemon(int skill) {
/* 154 */     switch (skill) {
       case 120:
/* 156 */         return MOB_STAT_Seal;
       case 121:
/* 158 */         return MOB_STAT_Blind;
       case 123:
/* 160 */         return MOB_STAT_Stun;
       case 125:
/* 162 */         return MOB_STAT_Poison;
       case 126:
/* 164 */         return MOB_STAT_Speed;
       case 137:
/* 166 */         return MOB_STAT_Freeze;
     }
/* 168 */     return null;
   }

   public static MapleDisease getLinkedDisease(MonsterStatus stat) {
/* 172 */     switch (stat) {
       case MOB_STAT_Stun:
       case MOB_STAT_Web:
/* 175 */         return MapleDisease.昏迷;
       case MOB_STAT_Poison:
       case 心灵控制:
/* 178 */         return MapleDisease.中毒;
       case MOB_STAT_Seal:
       case MOB_STAT_MagicCrash:
/* 181 */         return MapleDisease.封印;
       case MOB_STAT_Freeze:
/* 183 */         return MapleDisease.FREEZE;
       case MOB_STAT_PCounter:
/* 185 */         return MapleDisease.黑暗;
       case MOB_STAT_Speed:
/* 187 */         return MapleDisease.缓慢;
     }
/* 189 */     return null;
   }

   public static int genericSkill(MonsterStatus stat) {
/* 193 */     switch (stat) {
       case MOB_STAT_Stun:
/* 195 */         return 90001001;

       case MOB_STAT_Speed:
/* 198 */         return 90001002;

       case MOB_STAT_Poison:
/* 201 */         return 90001003;

       case MOB_STAT_PCounter:
/* 204 */         return 90001004;

       case MOB_STAT_Seal:
/* 207 */         return 90001005;

       case MOB_STAT_Freeze:
/* 210 */         return 90001006;

       case MOB_STAT_MagicCrash:
/* 213 */         return 1111007;

       case MOB_STAT_Darkness:
/* 216 */         return 4121003;

       case MOB_STAT_Weakness:
/* 219 */         return 22161002;

       case MOB_STAT_Web:
/* 222 */         return 4111003;

       case MOB_STAT_Venom:
/* 225 */         return 5211004;

       case MOB_STAT_Venom_2:
/* 228 */         return 2311005;

       case MOB_STAT_Ambush:
/* 231 */         return 4121004;

       case MOB_STAT_Explosion:
/* 234 */         return 36110005;
     }

/* 237 */     return 0;
   }


   public int getPosition() {
/* 242 */     return this.position;
   }

   public boolean isEmpty() {
/* 246 */     return this.end;
   }


   public int getValue() {
/* 251 */     return this.i;
   }

   public int getOrValue() {
/* 255 */     return this.value;
   }

   public Integer getOrder() {
/* 259 */     return Integer.valueOf(this.position);
   }

   public MonsterStatus getMonsterStatusById(int id) {
/* 263 */     for (MonsterStatus monsterStatus : values()) {
/* 264 */       if (monsterStatus.getValue() == id) {
/* 265 */         return monsterStatus;
       }
     }
/* 268 */     return null;
   }
 }


/* Location:              C:\PGX\Server.jar!\client\status\MonsterStatus.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */